Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#171703313] SAML certs and Startup IDP metadata from ENV #595

Merged
merged 7 commits into from
Mar 10, 2020

Conversation

BurnedMarshal
Copy link
Contributor

No description provided.

@BurnedMarshal BurnedMarshal requested a review from gunzip March 10, 2020 10:29
@codecov-io
Copy link

codecov-io commented Mar 10, 2020

Codecov Report

Merging #595 into master will increase coverage by 0.05%.
The diff coverage is 86.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #595      +/-   ##
==========================================
+ Coverage    82.7%   82.75%   +0.05%     
==========================================
  Files          48       48              
  Lines        1376     1386      +10     
  Branches      241      242       +1     
==========================================
+ Hits         1138     1147       +9     
- Misses        227      228       +1     
  Partials       11       11
Impacted Files Coverage Δ
src/types/commons.ts 100% <100%> (+100%) ⬆️
src/app.ts 99.25% <100%> (+0.02%) ⬆️
src/config.ts 82.14% <72.72%> (-1.97%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 502cba5...ee660bf. Read the comment docs.

Copy link
Contributor

@gunzip gunzip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm so far

@@ -116,7 +135,8 @@ export const appConfig: IApplicationConfig = {
clientLoginRedirectionUrl: CLIENT_REDIRECTION_URL,
loginPath: "/login",
metadataPath: "/metadata",
sloPath: "/slo"
sloPath: "/slo",
startupIdpsMetadata: STARTUP_IDPS_METADATA
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please document this var into th readme ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 53626f2

@@ -170,7 +171,7 @@ export function newApp(
// Setup routes
//

return tryCatch(async () => {
return new Task(async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we must ensure that this code never throws

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all static methods inside the Task that should never throw. I think that tryCatch before and new Task now, are only for chaining purposes with withSpid.

src/app.ts Outdated Show resolved Hide resolved
src/app.ts Outdated Show resolved Hide resolved
BurnedMarshal and others added 4 commits March 10, 2020 13:58
Co-Authored-By: Danilo Spinelli <gunzip@users.noreply.github.com>
Co-Authored-By: Danilo Spinelli <gunzip@users.noreply.github.com>
@BurnedMarshal BurnedMarshal marked this pull request as ready for review March 10, 2020 13:11
@gunzip gunzip self-requested a review March 10, 2020 13:17
@gunzip gunzip merged commit 006d258 into master Mar 10, 2020
@gunzip gunzip deleted the 171703313-saml-config-from-env branch March 10, 2020 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants